<template lang="html">
  <div class="">
    <button type="button" name="button" @click='clik'>我拍一</button>
    一起<span v-html="d.c"></span>
    <br>
    <button type="button" name="button" @click='clik2'>我拍我的</button>
    T拍了<span v-html="d.c1"></span>

  </div>

</template>

<script>
export default {
  data(){
    return{
      d:this.outerData
    }
  },
  props:['outerData'],
  methods:{
    clik(e){
      this.d.c++;
    },
    clik2(e){
      this.d.c2++;
    }
  }
}
</script>

<style lang="css">
</style>
